package com.wind.logger.domain;

import java.util.Date;

public class BaseEntity {

	private Date createTime;
	private Date updateTime;
	private Status status;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	enum Status {
		ACTIVE(0), DEACTIVE(1);
		private int value;

		private Status(int value) {
			this.value = value;
		}

		public int getValue() {
			return this.value;
		}
	}
}
